#!/bin/sh

PHPSLOT="${1}"
[ -z "${PHPSLOT}" ] && PHPSLOT="$(eselect php show fpm)"
shift

exec /usr/lib/${PHPSLOT}/bin/php-fpm "${@}"
